//
//  HeadView.m
//  HHHorizontalPagingView
//
//  Created by Gamefire on 16/4/11.
//  Copyright © 2016年 Huanhoo. All rights reserved.
//

#import "HeadView.h"
#import "UIImageView+AFNetworking.h"




#define  UIColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]

#define kWindowWidth                        ([[UIScreen mainScreen] bounds].size.width)

#define kWindowHeight                       ([[UIScreen mainScreen] bounds].size.height)
@interface HeadView()

@property (nonatomic,strong)UILabel *labelname;
@property (nonatomic,strong)UIImageView *headerImageView;
@property (nonatomic,strong)UIImageView *rightImageView;
@property (nonatomic,strong)UILabel *FocusOnLabel;
@property (nonatomic,strong)UILabel *FocusOnNum;
@property (nonatomic,strong)UILabel *fansLabel;
@property (nonatomic,strong)UILabel *fansNum;
@property (nonatomic,strong)UIImage * image;
@property (nonatomic,strong)UITapGestureRecognizer *tags;
@property (nonatomic,strong)UITapGestureRecognizer *settag;

@end
@implementation HeadView
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self initUI];
    }
    return self;
}


- (void)initUI{
    [self setUserInteractionEnabled:YES];
    
    
    
}


- (void)TouchEvent{
    if (_delegate && [_delegate respondsToSelector:@selector(TouchPlush)]) {
        [_delegate TouchPlush];
    }
}
- (void)SetEvent{
    if (_delegate && [_delegate respondsToSelector:@selector(TouchSetEvent)]) {
        [_delegate TouchSetEvent];
    }
}

@end
